import request from "../util/request"

export function login(cardNo,password) {
  return request({
    url: '/account/login',
    method: 'GET',
    params :{
        cardNo,
        password
    },
    data: cardNo
  })  

}

export function findMoney(cardNo) {
  return request({
    url: '/account/find',
    method: 'GET',
    params :{
        cardNo
    }
  })  
  
}

export function updatePass(cardNo,password,checkPass) {
  return request({
    url: '/account/update',
    method: 'PUT',
    params :{
        cardNo,
        password,
        checkPass
    }
  })  
  
}